Optimal. Leaf size=55 \[ \frac {\cot ^4(c+d x)}{4 a d}-\frac {\csc ^5(c+d x)}{5 a d}+\frac {\csc ^3(c+d x)}{3 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {2835, 2606, 14, 2607, 30} \[ \frac {\cot ^4(c+d x)}{4 a d}-\frac {\csc ^5(c+d x)}{5 a d}+\frac {\csc ^3(c+d x)}{3 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 30
Rule 2606
Rule 2607
Rule 2835
Rubi steps
\begin {align*} \int \frac {\cot ^5(c+d x) \csc (c+d x)}{a+a \sin (c+d x)} \, dx &=-\frac {\int \cot ^3(c+d x) \csc ^2(c+d x) \, dx}{a}+\frac {\int \cot ^3(c+d x) \csc ^3(c+d x) \, dx}{a}\\ &=\frac {\operatorname {Subst}\left (\int x^3 \, dx,x,-\cot (c+d x)\right )}{a d}-\frac {\operatorname {Subst}\left (\int x^2 \left (-1+x^2\right ) \, dx,x,\csc (c+d x)\right )}{a d}\\ &=\frac {\cot ^4(c+d x)}{4 a d}-\frac {\operatorname {Subst}\left (\int \left (-x^2+x^4\right ) \, dx,x,\csc (c+d x)\right )}{a d}\\ &=\frac {\cot ^4(c+d x)}{4 a d}+\frac {\csc ^3(c+d x)}{3 a d}-\frac {\csc ^5(c+d x)}{5 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 48, normalized size = 0.87 \[ \frac {\csc ^2(c+d x) \left (-12 \csc ^3(c+d x)+15 \csc ^2(c+d x)+20 \csc (c+d x)-30\right )}{60 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 71, normalized size = 1.29 \[ -\frac {20 \, \cos \left (d x + c\right )^{2} - 15 \, {\left (2 \, \cos \left (d x + c\right )^{2} - 1\right )} \sin \left (d x + c\right ) - 8}{60 \, {\left (a d \cos \left (d x + c\right )^{4} - 2 \, a d \cos \left (d x + c\right )^{2} + a d\right )} \sin \left (d x + c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 46, normalized size = 0.84 \[ -\frac {30 \, \sin \left (d x + c\right )^{3} - 20 \, \sin \left (d x + c\right )^{2} - 15 \, \sin \left (d x + c\right ) + 12}{60 \, a d \sin \left (d x + c\right )^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.48, size = 49, normalized size = 0.89 \[ \frac {-\frac {1}{5 \sin \left (d x +c \right )^{5}}-\frac {1}{2 \sin \left (d x +c \right )^{2}}+\frac {1}{4 \sin \left (d x +c \right )^{4}}+\frac {1}{3 \sin \left (d x +c \right )^{3}}}{d a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.77, size = 46, normalized size = 0.84 \[ -\frac {30 \, \sin \left (d x + c\right )^{3} - 20 \, \sin \left (d x + c\right )^{2} - 15 \, \sin \left (d x + c\right ) + 12}{60 \, a d \sin \left (d x + c\right )^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.96, size = 46, normalized size = 0.84 \[ \frac {-30\,{\sin \left (c+d\,x\right )}^3+20\,{\sin \left (c+d\,x\right )}^2+15\,\sin \left (c+d\,x\right )-12}{60\,a\,d\,{\sin \left (c+d\,x\right )}^5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________